package com.syf.starter.core.netty;

import lombok.Data;

@Data
public class SyNettyServerConfig {
    /**
     * server name
     */
    private String serverName;

    /**
     * 监听IP
     */
    private String host = "0.0.0.0";

    /**
     * 监听端口
     */
    private Integer port;

    /**
     * tcp SO_BACKLOG
     * */
    private Integer TCP_SO_BACKLOG = 2048;

    /**
     * tcp SO_RCVBUF
     * */
    private Integer TCP_SO_RCVBUF = 2048;

    /**
     * IS KEEP ALIVE
     * */
    private Boolean IS_KEEP_ALIVE = Boolean.TRUE;
}
